<!DOCTYPE HTML>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <title>沙井查询</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <link rel="icon" type="image/x-icon" href="/survey/favicon.ico"/>
    <link rel="stylesheet" type="text/css" href="/survey/layui/css/layui.css"/>
    <link rel="stylesheet" type="text/css" href="/survey/css/project/iquerylist.css"/>
    <script type="text/javascript" src="/survey/js/jquery-1.9.1.min.js"></script>
    <script type="text/javascript" src="/survey/layui/layui-2.5.6.min.js"></script>
    <script type="text/javascript" src="/survey/js/project/iquerylist.js"></script>
</head>
<body>
<div th:replace="navigation::navigation"></div>

<div id="main">
    <div id="mainInfo">
        <div id="infoTop" th:text="#{project.querylist.title}"></div>
        <div id="Menu">
            <span th:text="#{project.querylist.menu1}"></span>
            <input id="menuBtn1" type="button" value="←"/>
            <input id="menuText" th:value="${param.name}"/>
            <input id="menuBtn2" type="button" th:value="#{project.querylist.menu2}"/>
        </div>

        <table id="tab1">
            <colgroup>
                <col style="width: 4%"/>
                <col style="width: 16%"/>
                <col style="width: 12%"/>
                <col style="width: 12%"/>
                <col style="width: 14%"/>
                <col style="width: 14%"/>
                <col style="width: 14%"/>
                <col/>
            </colgroup>
            <thead>
            <tr style="height: 40px; background-color:#51596b;">
                <th>No</th>
                <th th:text="#{project.querylist.table.title1}">
                <th th:text="#{project.querylist.table.title2}">
                <th th:text="#{project.querylist.table.title3}">
                <th th:text="#{project.querylist.table.title4}">
                <th th:text="#{project.querylist.table.title5}">
                <th th:text="#{project.querylist.table.title6}">
                <th th:text="#{project.querylist.table.title7}">
            </tr>
            </thead>
            <tbody>
            <tr th:each="manhole,status:${lists}" th:id="${manhole.project.id}">
                <td th:text="${status.count + (page - 1) * 15}"></td>
                <td><a th:href="@{editinfo(id=${manhole.project.id})}" th:text="${manhole.project.name}" th:title="${manhole.project.name}"></a></td>
                <td th:text="${manhole.project.operator}"></td>
                <td th:text="${manhole.project.datetime1}"></td>
                <td th:text="${manhole.project.datetime2}"></td>
                <td th:text="${manhole.node}"></td>
                <td th:text="${manhole.areacode}"></td>
                <td th:text="${manhole.surveydate}"></td>
            </tr>
            </tbody>
        </table>
        <img th:if="${#lists.size(lists) == 0}" src="/survey/img/null.png" alt="" style="margin:145px 400px;float:left;">
        <div th:if="${#lists.size(lists) != 0}" id="pageMain" class="layui-form-item">
            <div id="page" th:data-p1="${page}" th:data-p2="${count}"></div>
        </div>
    </div>
</div>
</body>
</html>